package com.qinyunkj.searchchatserver.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qinyunkj.searchchatserver.model.entity.CrawlerLog;

public interface CrawlerLogService extends IService<CrawlerLog> {
    /**
     * 分页查询爬虫日志
     */
    Page<CrawlerLog> pageLog(Integer pageNum, Integer pageSize);
    
    /**
     * 记录爬虫执行日志
     */
    void recordLog(CrawlerLog log);
} 